{% extends "../adminbase.html" %}

{% block content %}
	<h1>{{actionforheading}} {{detailheading}}</h1>
	
	{% if errormessage %}
		<h4 style="color:red;">{{errormessage}}</h4>
	{% endif %}

	{% if successmessage %}
		<h4>{{successmessage}}</h4>
	{% endif %}

    <form action="/{{formaction}}" enctype="multipart/form-data" method="post">
    	{{itemhtml}}
    </form>
{% endblock %}
